package com.license.server.entity.dto;

import com.license.server.entity.LicenseCheckModel;
import lombok.Data;

/**
 * License 生成类需要的参数
 */
@Data
public class LicenseCreatorParamDTO {

    /**
     * 证书主题
     */
    private String subject;

    /**
     * 描述信息
     */
    private String description;

    /**
     * 证书生效时长
     */
    private Integer validityDays;

    /**
     * 额外的服务器硬件校验信息
     */
    private LicenseCheckModel licenseCheckModel;

    @Override
    public String toString() {
        return "LicenseCreatorParamDTO{" +
                "validityDays=" + validityDays +
                ", description='" + description + '\'' +
                ", licenseCheckModel=" + licenseCheckModel +
                '}';
    }
}
